using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Boar : Enemy
{
  // 使用有限状态机 不再重写移动方法Move
  // public override void Move()
  // {
  //   base.Move();
  //   anim.SetBool("walk", true);
  // }

  /// <summary>
  /// Awake is called when the script instance is being loaded.
  /// </summary>
  protected override void Awake()
  {
    base.Awake();
    patrolState = new BoarPatrolState();
    chaseState = new BoarChaseState();
  }
}
